Mail Log Analyzer - MailGraph
2014/05/04 |
Install Mail Log Analyzer, MailGraph.
|
|
[1] | |
[2] | Install MailGraph |
root@mail:~#
root@mail:~# apt-get -y install mailgraph rrdtool mkdir /var/www/html/mailgraph root@mail:~# cp -p /usr/lib/cgi-bin/mailgraph.cgi /var/www/html/mailgraph
root@mail:~#
vi /etc/apache2/sites-available/mailgraph.conf # create new
<Directory /var/www/html/mailgraph>
AddHandler cgi-script .cgi .pl Options +ExecCGI Require ip 127.0.0.1 10.0.0.0/24 </Directory> a2ensite mailgraph Enabling site mailgraph. To activate the new configuration, you need to run: service apache2 reloadroot@mail:~# /etc/init.d/apache2 restart * Restarting web server apache2 ... waiting . ...done. |
Access to 'http://(your server's name or IP address)/mailgraph/mailgraph.cgi' with web browser. Then following screen is shown and it's possible to make sure mail log summary. |